package com.explment.lens.controller.log;

import com.explment.lens.entity.SysLogSecurityEntity;
import com.explment.lens.service.SysLogSecurityService;
import org.springframework.web.bind.annotation.*;
import org.springframework.beans.factory.annotation.Autowired;
import com.explment.lens.utils.result.ResultData;
/**
 * 安全日志 controller
 */
@RestController
@RequestMapping("/sysLogSecurityEntity")
public class SysLogSecurityController {
    @Autowired
    private SysLogSecurityService sysLogSecurityEntityService;

    @GetMapping("/{id}")
    public ResultData getById(@PathVariable String id) {
        return ResultData.success(sysLogSecurityEntityService.getById(id));
    }
}